package org.seedltd.upms.model.sys.entity;

import org.seedltd.core.base.BaseEntity;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 岗位信息表
 *
 * @author laizuan
 * @version 1.0
 * @since 2020/08/06
 */
@Getter
@Setter
@TableName("sys_post")
public class SysPost extends BaseEntity {

    /**
     * 岗位ID
     */
    @TableId(value = "post_id")
    private Integer postId;

    /**
     * 岗位编码
     */
    @TableField(value = "post_code")
    private String postCode;

    /**
     * 岗位名称
     */
    @TableField(value = "post_name")
    private String postName;

    /**
     * 显示顺序
     */
    @TableField(value = "sort_no")
    private Integer sortNo;

    /**
     * 状态（1正常 0停用）
     */
    @TableField(value = "enable_status")
    private EnableStatus enableStatus;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}